package com.yn.xr.middleware.news.service;

import com.yn.core.service.BaseService;
import com.yn.xr.news.mode.NewsArticleApproveInfo;

/**
 * @description: 新闻点赞接口
 * @fileName:NewsProveService.java
 * @createTime:下午1:45:33
 * @author: 陈权
 * @version  1.0.0
 * @data 下午1:45:33
 */
public interface NewsProveService extends BaseService<NewsArticleApproveInfo, Integer>
{
    //根据新闻ID查询点赞
    public NewsArticleApproveInfo findNewsProveBynewsId(int newsId) throws Exception;
    //添加点赞
    public void insertNewsProve(NewsArticleApproveInfo newsArticleApproveInfo) throws Exception;
    
    //修改点赞
    public void updateNewsProve(NewsArticleApproveInfo newsArticleApproveInfo) throws Exception;
     
}
